#@web_layout?()
#define css()
<link rel="stylesheet" type="text/css" href="#(contextPath)/assets/front/web/css/main.css?#(getUUID())" />
<link rel="stylesheet" type="text/css" href="#(contextPath)/assets/front/web/css/laypage.css?#(getUUID())" />
<link rel="stylesheet" type="text/css" href="#(contextPath)/assets/front/web/css/layer.css?#(getUUID())" />
#end
#define content()

<style>
.clear { 
	display: none; 
	position: absolute; 
	width: 16px; 
	height: 16px; 
	color:#989696;
	margin: 0px 0 0 790px; 
	outline: none; 
}

.input::-ms-clear { 
	display: none; 
	}
.u-row-cell-input:valid + .clear { display: inline; }
</style>

<div class="c-article">
    <div class="g-info" style="position: fixed;">
        <div class="m-panel" style="margin-top:0;">
            <div class="m-select-total" style="width:100%;">
                
                <div class="m-row">
                    <div class="u-row-title u-row-title-short"></div>
                    <div class="u-row-box">
                        <div style="color:#62bcc0">温馨提示:假如您终止了当前任务流程，我们将会放弃保存你的任务数据信息</div>
                    </div>
                </div>
                <div class="m-row">
                    <div class="u-row-title u-row-title-short">平台:</div>
                    <div class="u-row-box">
                        <div class="u-row-box-input">
                            <select class="u-row-cell-input" id="platform">
                                <option value="" selected="selected">请选择</option>
                                #for(pf : platform)
                                <option value="#(pf.code)" class="">#(pf.name)</option>
                                #end
                            </select>
                        </div>
                    </div>
                    <div class="u-row-title">粉丝特征:</div>
                    <div class="u-row-box">
                        <div class="u-row-box-input">
                            <select class="u-row-cell-input" id="feature">
                                <option value="" selected="selected">请选择</option>
                                #for(x : feature)
                                <option value="#(x.name)" class="">#(x.name)</option>
                                #end
                            </select>
                        </div>
                    </div>
                </div>
                <div class="m-row">
                    <div class="u-row-title u-row-title-short">地域:</div>
                    <div class="u-row-box">
                        <div class="u-row-box-input" style="margin-right:20px;">
                            <select onchange="changeRegion(this)" class="u-row-cell-input" id="province">
                                <option value="" selected="selected">请选择</option>
                                #for(re : region)
                                <option value="#(re.REGION_ID)" class="">#(re.REGION_NAME)</option>
                                #end
                            </select>
                        </div>
                        <div class="u-row-box-input">
                            <select id="city" class="u-row-cell-input" id="city">
                                <option value="">请选择</option>
                            </select>
                        </div>
                    </div>
                    <div class="u-row-title">投放渠道:</div>
                    <div class="u-row-box">
                        <div class="u-row-box-input">
                            <select class="u-row-cell-input" id="channel">
                                <option value="" selected="selected">请选择</option>
                                #for(cl : channel)
                                <option value="#(cl.code)" class="">#(cl.name)</option>
                                #end
                            </select>
                        </div>
                    </div>
                </div>
                <div class="m-row">
                    <div class="u-row-title u-row-title-short">昵称:</div>
                    <div class="u-row-box">
                        <div class="u-row-box-input">
                            <input class="u-row-cell-input" required id="nickName" />
                            <a href="javascript:;" class="clear" onclick="clearSearch()">X</a>
                        
                        </div>
                    </div>
                    <div class="u-row-title">价格:</div>
                    <div class="u-row-box">
                        <div class="u-row-box-input">
                            <select class="u-row-cell-input" id="price">
                                <option value="" selected="selected">请选择</option>
                                #for(x : prices)
                                	<option value="#(x.name)" class="">#(x.name)</option>
                                #end
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <div class="m-row">
                <div class="u-row-title u-row-title-short">已选择:</div>
                <div class="u-row-box">
                    <div class="u-row-box-list">
                        <ul class="u-row-cell-list"></ul>
                        #--<div class="u-row-box-num"><span class="box-num-panel">10</span>/#(taskObj.wh_number??1)<span>人</span></div>--#
                        <div class="u-row-box-num"><span class="box-num-panel">10</span>/10<span>人</span></div>
                        <div class="u-row-box-hide">筛选<i></i></div>
                    </div>
                </div>
            </div>
            <div class="m-row m-select-search">
                <div class="task-next" style="margin:0 auto;">搜索</div>
            </div>
        </div>
    </div>
    <div class="g-task-choice-list">
        #--<ul class="m-choice-list" data-num="#(taskObj.wh_number??1)">--#
        <ul class="m-choice-list" data-num="10">
        </ul>
        <div class="m-choice-page" id="m_choice_page_container" style="display:flex;justify-content:center">
        	<div id="m_choice_page"></div>
        	<div id="jump">
        		<input type="text" size="5" maxlength="3" id="jumpVal" >
        		<button onclick=jump();>跳转</button>
        	</div>
        </div>
        <div class="m-choice-next" data-href="#(contextPath)/platform/task/success" onclick="create()">发布任务</div>
    </div>
    <form action="#(contextPath)/platform/task/saveTaskWait" method="post" id="fairForm">
        <input type="hidden" name="task" value="#(task)">
        <input name="fairs" type="hidden" value="" />
    </form>
</div>
#end
#define script()
<script src="#(contextPath)/assets/front/web/script/laypage.js"></script>
<script src="#(contextPath)/assets/front/web/script/task_fair.js"></script>
#end